# D:\Python1\017\6.len.py
str = "salem"
print(len(str))             # 字符串长度

list = [1,2,3,4,5,6,7]
print(len(list))               # 列表元素个数
